package cn.wolfcode.trip.base.service;


import cn.wolfcode.trip.base.domain.PrivateMessage;
import cn.wolfcode.trip.base.domain.User;

import java.util.List;
import java.util.Map;

public interface IPrivateMessageService {
        void insert(PrivateMessage privateMessage);

    List<PrivateMessage> selectContentBySendIdAndReceiveId(Long receiveId,Long sendId);

    List<PrivateMessage> selectByUserWeiDu(Long receiveId, Long sendId);

    void changeReceiveState(Long id);

    Integer selectPrivateNumberByUserId(Long id);

    void changePrivateTotal(Long id);

    Map<String,Object> selectlistPrivateUser();
}
